package com.A1908.service.impl;

import com.A1908.dao.MyAttendDao;
import com.A1908.dao.impl.MyAttendDaoImpl;
import com.A1908.entity.MyAttend;
import com.A1908.service.MyAttendService;

import java.util.List;

public class MyAttendServiceImpl implements MyAttendService {
    MyAttendDao myAttendDao = new MyAttendDaoImpl();

    @Override
    public List<MyAttend> findAllMyAttend(MyAttend myAttend) {
        return myAttendDao.getAllMyAttend(myAttend);
    }

    @Override
    public int addMyAttend(MyAttend myAttend) {
        return myAttendDao.addMyAttend(myAttend);
    }

    @Override
    public int editMyAttend(MyAttend myAttend) {
        return myAttendDao.editMyAttend(myAttend);
    }

    @Override
    public int delMyAttend(MyAttend myAttend) {
        return myAttendDao.delMyAttend(myAttend);
    }
}
